﻿<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DocumentsTemplateCreation.aspx.cs" Inherits="MS.InformationManagement.WP.Layouts.MS.InformationManagement.WP.DocumentsTemplateCreation" DynamicMasterPageFile="~masterurl/default.master" %>


<asp:Content ID="PageHead" ContentPlaceHolderID="PlaceHolderAdditionalPageHead" runat="server">

<style type="text/css"> 
.Docs-Templates-Row{  margin-bottom:20px }
.Docs-Templates-Row span[class='left']{ width: 210px; float:left; }
.Docs-Templates-Row input{ width: 190px; }
</style>

</asp:Content>

<asp:Content ID="Main" ContentPlaceHolderID="PlaceHolderMain" runat="server">
<link rel="stylesheet" type="text/css" href="/_layouts/INC/MS.InformationManagement/css/layoutInterna.css" />

    <div class="Docs-Templates-Container">
        <div class="Docs-Templates-Row">
            <asp:Label class="left" ID="lblTemplates" runat="server" Text="Seleccione la plantilla a generar"></asp:Label>
            <asp:DropDownList ID="ddlTemplates" runat="server"  DataTextField="Value" DataValueField="Key" AutoPostBack="true" OnSelectedIndexChanged="Selected_Template" CausesValidation="false"></asp:DropDownList>
        </div>
        <div class="Docs-Templates-Row">
            <asp:Label class="left" ID="lblName" runat="server" Text="Nombre nuevo documento"></asp:Label>
	    <asp:TextBox ID="txtNewFileName" runat="server"></asp:TextBox>
            <asp:Label ID="lblExtension" runat="server" Text=""></asp:Label>
        </div>
        <div class="Docs-Templates-Actions">
            <asp:Button ID="btnGenerarTemplate" runat="server" Text="Generar documento" OnClick="Action_Generar" />
        </div>
    </div>
</asp:Content>

<asp:Content ID="PageTitle" ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
Creaci&oacute;n de documentos basados en plantillas
</asp:Content>

<asp:Content ID="PageTitleInTitleArea" ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea" runat="server" >
Creaci&oacute;n de documentos basados en plantillas
</asp:Content>
